<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org" xmlns:c="http://www.w3.org/1999/XSL/Transform">
<head>
    <meta charset="UTF-8">
    <title>JPetStore Management System</title>
    <link rel="StyleSheet" href="../css/jpetstore.css" type="text/css" media="screen"/>
</head>
<body>
<header th:fragment="header">
    <div id="Header">

        <div id="Logo">
            <div id="LogoContent">
                <a href="/catalog/view"><img src="../images/logo-topbar.gif" /></a>
            </div>
        </div>

        <div id="Menu">
            <div id="MenuContent">
                <c:if test="${sessionScope.account != null}">
                    <a href="/">Sign Out</a><img align="middle" src="../images/separator.gif" />
                    <a href="/catalog/category">Category</a><img align="middle" src="../images/separator.gif" />
                    <a href="/account/all">Accounts</a><img align="middle" src="../images/separator.gif" />
                    <a href="/order/all">Orders</a><img align="middle" src="../images/separator.gif" />
                </c:if>
            </div>
        </div>

        <div id="Search">
            <div id="SearchContent">
            </div>
        </div>

        <div id="BackLink">
            <a href="/catalog/view">Return to Main Menu</a>
        </div>
    </div>
</header>
</body>
</html>